<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:p="http://primefaces.prime.com.tr/ui">

<ui:composition>
	<h3>Basic Information</h3>
	<table width="100%" cellspacing="5" cellpadding="0" border="0" class="table_box">
		<tbody>
			<tr>
				<td align="right"></td>
				<td>

					<div class="table_td_message">
						<rich:message for="uinfo" />
					</div></td>
			</tr>
			<tr>
				<td align="right">Title*:</td>
				<td><h:inputText value="#{addPropertyBean.prop.title}"
						id="prop_title" validator="#{mValidatorLib.TitleValidator}" />
					<div class="table_td_message">
						<rich:message for="prop_title" />
					</div></td>
			</tr>
			<tr>
				<td align="right">Country*:</td>
				<td><h:selectOneMenu value="#{addPropertyBean.prop.country}"
						id="prop_country">
						<f:selectItem itemValue="Australia" itemLabel="Australia" />
					</h:selectOneMenu>
					<div class="table_td_message">
						<rich:message for="prop_country" />
					</div></td>
			</tr>
			<tr>
				<td align="right">State*:</td>
				<td><h:selectOneMenu value="#{addPropertyBean.prop.state}"
						id="prop_state">
						<f:selectItem itemValue="Sydney" itemLabel="Sydney" />
						<f:selectItem itemValue="Brisbane" itemLabel="Brisbane" />
						<f:selectItem itemValue="Adelaide" itemLabel="Adelaide" />
						<f:selectItem itemValue="Melbourne" itemLabel="Melbourne" />
						<f:selectItem itemValue="Perth" itemLabel="Perth" />
					</h:selectOneMenu>
					<div class="table_td_message">
						<rich:message for="prop_state" />
					</div></td>
			</tr>
			<tr>
				<td align="right" width="200px">Address*:</td>
				<td><h:inputText value="#{addPropertyBean.prop.address}"
						id="prop_address" validator="#{mValidatorLib.AddressValidator}" />
					<div class="table_td_message">
						<rich:message for="prop_address" />
					</div></td>
			</tr>
			<tr>
				<td align="right">Description*:</td>
				<td><h:inputTextarea
						value="#{addPropertyBean.prop.description}" id="prop_description"
						validator="#{mValidatorLib.DescriptionValidator}" />
					<div class="table_td_message">
						<rich:message for="prop_description" />
					</div></td>
			</tr>
			<tr>
				<td align="right">Property Type*:</td>
				<td>
					<h:selectOneMenu value="#{mProperty.propselectedtype}" id="prop_select_type" styleClass="prop_type_class">
						<f:selectItem itemValue="p4r" itemLabel="Property For Rent" />
						<f:selectItem itemValue="p4s" itemLabel="Property For Sell"/>
						<f:selectItem itemValue="r4r" itemLabel="Room for Rent"/>
					</h:selectOneMenu>
					<div class="table_td_message">&nbsp;</div>
				</td>
			</tr>
	
		</tbody>
	</table>
</ui:composition>
</html>